<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Layout
 *
 * @author juwking
 */
class Layout extends PageController {

    private $page;
    protected static $objInstance = null;

    public function __construct($page=null) {
        parent::__construct();
        $this->page = $page;
    }

    public static function getInstance() {
        if (is_null(self::$objInstance)) {
            self::$objInstance = new self();
        }

        return self::$objInstance;
    }

    public function getPageName() {
        return 'layout';
    }
    public function defaultAction() {
        $this->display("MainViewSimple.tpl");
    }
}

?>
